/*
 *  Copyright 2019-2020 Zheng Jie
 *
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *  http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */
package com.ac.scum.log.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@TableName
public class Menu implements Serializable {

    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
    private Long pid;
    private String idPath;
    private String title;
    private String permission;
    private String url;
    private Integer menuType;
    private Integer sortId = 999;
    private Integer type;
    private String icon;
    private Integer weigh;
    private Integer status;
    private Boolean hidden;
    private String name;
    private String path;
    private String component;
    private Boolean isFrame;
    private String frameUrl;
    private String redirect;
    private String remark;
    private LocalDateTime createTime;
    private LocalDateTime modifyTime;
    private Boolean useContainer;
}
